<!DOCTYPE html>
<html>
<include file="Public:header" />
<link href="__ACSS__/dialog.css" rel="stylesheet">
<link href="__ACSS__/plugins/validform/validform.css" rel="stylesheet">
<style>
.row .col-sm-6,.row .col-sm-12{ margin-top:15px;}
</style>
  <body>
	  <div class="wrapper wrapper-content animated fadeInRight">
	 	<form role="form" class="form" action="__URL__/toWithdraw">
		<input type="hidden" name="id" value="<{$vo.id}>">
	  	<div class="ibox">
            <div class="ibox-content">
                <div class="row">
                	<div class="col-sm-6">
			  			银行绑定姓名：<{$vo.bank_name}>
			  		</div>
                	<div class="col-sm-6">
			  			银行名称：<{$vo.bank_type}>
			  		</div>
                	<div class="col-sm-6">
			  			银行卡号：<{$vo.bank_no}>
			  		</div>
			  		<div class="col-sm-6">
			  			开户网点：<{$vo.bank_address}>
			  		</div>
			  		<div class="form-group">
			  			<div class="col-sm-12"><label>提现金额：</label></div>
						<div class="col-sm-12">
							<input type="text" datatype="n" name="sum" errormsg="请填写整数！" class="form-control" placeholder="提现金额">
						</div>
					</div>
			  	</div>
			  	<hr/>
			  	<span>当前余额：<font style="font-size:16px; color:red; font-weight:bold;"><{$vo.balance}></font>元，操作前请确认已打款成功。</span>
			  	<br/>
			  	<span style="color:red;">操作不可逆转，请谨慎操作！！！</span>
			  	<hr/><br/>
			  	<div class="alipayCode"></div>
				<div class="clearfix">
					<button type="submit" id="submit" class="btn btn-success btn-block">提交</button>
					<button type="reset" id="reset2" class="btn btn-success btn-block hidden">重置</button>
				</div>
            </div>
        </div>
        </form>
	  </div>
  </body>
<!-- 全局js -->
<include file="Public:foot" />
<script src="__AJSPLUGINS__/validform/Validform_v5.3.2_min.js"></script>
<script type="text/javascript">
$(function(){
	var index = parent.layer.getFrameIndex(window.name);
	var form = $(".form").Validform({
		tiptype:4,
		ajaxPost:true,
		callback:function(data){
			if(data.status == 1) {
				window.parent.layer.msg(data.info);
				window.parent.$('#table_list').trigger("reloadGrid");
			}else{
				window.parent.layer.msg(data.info);
			}
			parent.layer.close(index);
		}
	});
})
</script>
</html>